package com.cidp.system.service;

import com.cidp.system.model.TdictParam;
import com.litt.core.exception.BusiException;
import com.litt.core.page.IPageList;
import com.litt.core.page.PagePoParam;

/**
 * <b>标题：</b>字典管理Service接口.
 * 
 * <pre>
 * &lt;b&gt;描述&lt;/b&gt;
 *    字典管理
 * </pre>
 * 
 * @author lijian
 * @since 2008-5-23
 * @version 1.0
 */
public interface IDictParamService {
	
	/**
	 * 读取字典信息
	 * 
	 * @param dictId 字典ID
	 * @return TdictParam对象
	 * @throws BusiException 
	 */
	public TdictParam loadById(Long dictId) throws BusiException;

	/**
	 * 逻辑删除字典信息.
	 * 
	 * @param dictId 字典信息ID
	 * @throws BusiException 
	 */
	public void deleteDictParam(Long dictId) throws BusiException;

	/**
	 * 屏蔽字典信息.
	 * 
	 * @param dictId 字典信息ID
	 * @throws BusiException 
	 */
	public void shieldDictParam(Long dictId) throws BusiException;
	
	/**
	 * 恢复屏蔽的字典信息.
	 * 
	 * @param dictId 字典信息ID
	 * @throws BusiException 
	 */
	public void unshieldDictParam(Long dictId) throws BusiException;
	
	/**
	 * 恢复逻辑删除的字典信息.
	 * 
	 * @param dictId 字典信息ID
	 * @throws BusiException 
	 */
	public void resumeDictParam(Long dictId) throws BusiException;

	/**
	 * 保存字典信息.
	 * 
	 * @param dictParam 字典信息对象
	 * @return 主键
	 */
	public Long saveDictParam(TdictParam dictParam);

	/**
	 * 更新字典信息.
	 * 
	 * @param dictParam 字典信息对象
	 */
	public void updateDictParam(TdictParam dictParam);
	
	/**
	 * 分页查询参数字典信息.
	 * 
	 * @param pagePoParam 查询参数
	 * @return IPageList IPageList对象
	 * @throws BusiException 
	 */
	public IPageList listByPage(PagePoParam pagePoParam) throws BusiException ;
}
